/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../gVision/mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
    QByteArrayData data[49];
    char stringdata0[866];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 3), // "run"
QT_MOC_LITERAL(2, 15, 0), // ""
QT_MOC_LITERAL(3, 16, 8), // "stopAlgo"
QT_MOC_LITERAL(4, 25, 6), // "runEnd"
QT_MOC_LITERAL(5, 32, 9), // "setStatus"
QT_MOC_LITERAL(6, 42, 18), // "GvStatus::GVSTATUS"
QT_MOC_LITERAL(7, 61, 1), // "s"
QT_MOC_LITERAL(8, 63, 36), // "on_actionopen_Image_Folder_tr..."
QT_MOC_LITERAL(9, 100, 22), // "on_actionRun_triggered"
QT_MOC_LITERAL(10, 123, 30), // "on_actionReloadModel_triggered"
QT_MOC_LITERAL(11, 154, 23), // "on_actionSave_triggered"
QT_MOC_LITERAL(12, 178, 28), // "on_actionLoadModel_triggered"
QT_MOC_LITERAL(13, 207, 16), // "on_canvasClicked"
QT_MOC_LITERAL(14, 224, 1), // "x"
QT_MOC_LITERAL(15, 226, 1), // "y"
QT_MOC_LITERAL(16, 228, 5), // "flags"
QT_MOC_LITERAL(17, 234, 2), // "id"
QT_MOC_LITERAL(18, 237, 24), // "on_actionabout_triggered"
QT_MOC_LITERAL(19, 262, 23), // "on_actionstop_triggered"
QT_MOC_LITERAL(20, 286, 30), // "on_actiondeleteImage_triggered"
QT_MOC_LITERAL(21, 317, 15), // "addImageNameBox"
QT_MOC_LITERAL(22, 333, 16), // "QVector<QString>"
QT_MOC_LITERAL(23, 350, 10), // "imagesName"
QT_MOC_LITERAL(24, 361, 14), // "on_checkFinish"
QT_MOC_LITERAL(25, 376, 25), // "govion::AlgoTesterResult*"
QT_MOC_LITERAL(26, 402, 12), // "testerResult"
QT_MOC_LITERAL(27, 415, 27), // "on_checkResolvable_finished"
QT_MOC_LITERAL(28, 443, 14), // "receiveBndRect"
QT_MOC_LITERAL(29, 458, 4), // "rect"
QT_MOC_LITERAL(30, 463, 14), // "receiveSnTimes"
QT_MOC_LITERAL(31, 478, 7), // "snTimes"
QT_MOC_LITERAL(32, 486, 29), // "receiveAndShowDefectTypeIndex"
QT_MOC_LITERAL(33, 516, 5), // "index"
QT_MOC_LITERAL(34, 522, 4), // "name"
QT_MOC_LITERAL(35, 527, 4), // "note"
QT_MOC_LITERAL(36, 532, 21), // "on_imageFolder_change"
QT_MOC_LITERAL(37, 554, 9), // "imagePath"
QT_MOC_LITERAL(38, 564, 21), // "on_imageBox_activated"
QT_MOC_LITERAL(39, 586, 20), // "on_lastGroup_clicked"
QT_MOC_LITERAL(40, 607, 20), // "on_nextGroup_clicked"
QT_MOC_LITERAL(41, 628, 30), // "on_actionmodelToJson_triggered"
QT_MOC_LITERAL(42, 659, 26), // "on_actionMapping_triggered"
QT_MOC_LITERAL(43, 686, 25), // "on_actionstatus_triggered"
QT_MOC_LITERAL(44, 712, 26), // "on_actionalgoEdt_triggered"
QT_MOC_LITERAL(45, 739, 32), // "on_actionsingle_camera_triggered"
QT_MOC_LITERAL(46, 772, 31), // "on_actionfindLineTest_triggered"
QT_MOC_LITERAL(47, 804, 33), // "on_actionfindCircleTest_trigg..."
QT_MOC_LITERAL(48, 838, 27) // "on_actionmatching_triggered"

    },
    "MainWindow\0run\0\0stopAlgo\0runEnd\0"
    "setStatus\0GvStatus::GVSTATUS\0s\0"
    "on_actionopen_Image_Folder_triggered\0"
    "on_actionRun_triggered\0"
    "on_actionReloadModel_triggered\0"
    "on_actionSave_triggered\0"
    "on_actionLoadModel_triggered\0"
    "on_canvasClicked\0x\0y\0flags\0id\0"
    "on_actionabout_triggered\0"
    "on_actionstop_triggered\0"
    "on_actiondeleteImage_triggered\0"
    "addImageNameBox\0QVector<QString>\0"
    "imagesName\0on_checkFinish\0"
    "govion::AlgoTesterResult*\0testerResult\0"
    "on_checkResolvable_finished\0receiveBndRect\0"
    "rect\0receiveSnTimes\0snTimes\0"
    "receiveAndShowDefectTypeIndex\0index\0"
    "name\0note\0on_imageFolder_change\0"
    "imagePath\0on_imageBox_activated\0"
    "on_lastGroup_clicked\0on_nextGroup_clicked\0"
    "on_actionmodelToJson_triggered\0"
    "on_actionMapping_triggered\0"
    "on_actionstatus_triggered\0"
    "on_actionalgoEdt_triggered\0"
    "on_actionsingle_camera_triggered\0"
    "on_actionfindLineTest_triggered\0"
    "on_actionfindCircleTest_triggered\0"
    "on_actionmatching_triggered"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      31,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  169,    2, 0x06 /* Public */,
       3,    0,  170,    2, 0x06 /* Public */,
       4,    1,  171,    2, 0x06 /* Public */,
       5,    1,  174,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  177,    2, 0x08 /* Private */,
       9,    0,  178,    2, 0x08 /* Private */,
      10,    0,  179,    2, 0x08 /* Private */,
      11,    0,  180,    2, 0x08 /* Private */,
      12,    0,  181,    2, 0x08 /* Private */,
      13,    4,  182,    2, 0x08 /* Private */,
      18,    0,  191,    2, 0x08 /* Private */,
      19,    0,  192,    2, 0x08 /* Private */,
      20,    0,  193,    2, 0x08 /* Private */,
      21,    1,  194,    2, 0x0a /* Public */,
      24,    1,  197,    2, 0x0a /* Public */,
      27,    1,  200,    2, 0x0a /* Public */,
      28,    1,  203,    2, 0x08 /* Private */,
      30,    1,  206,    2, 0x08 /* Private */,
      32,    3,  209,    2, 0x08 /* Private */,
      36,    1,  216,    2, 0x08 /* Private */,
      38,    1,  219,    2, 0x08 /* Private */,
      39,    0,  222,    2, 0x08 /* Private */,
      40,    0,  223,    2, 0x08 /* Private */,
      41,    0,  224,    2, 0x08 /* Private */,
      42,    0,  225,    2, 0x08 /* Private */,
      43,    0,  226,    2, 0x08 /* Private */,
      44,    0,  227,    2, 0x08 /* Private */,
      45,    0,  228,    2, 0x08 /* Private */,
      46,    0,  229,    2, 0x08 /* Private */,
      47,    0,  230,    2, 0x08 /* Private */,
      48,    0,  231,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 6,    7,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::QString,   14,   15,   16,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, 0x80000000 | 25,   26,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QRect,   29,
    QMetaType::Void, QMetaType::QStringList,   31,
    QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::QString,   33,   34,   35,
    QMetaType::Void, QMetaType::QString,   37,
    QMetaType::Void, QMetaType::Int,   33,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->run(); break;
        case 1: _t->stopAlgo(); break;
        case 2: _t->runEnd((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 3: _t->setStatus((*reinterpret_cast< GvStatus::GVSTATUS(*)>(_a[1]))); break;
        case 4: _t->on_actionopen_Image_Folder_triggered(); break;
        case 5: _t->on_actionRun_triggered(); break;
        case 6: _t->on_actionReloadModel_triggered(); break;
        case 7: _t->on_actionSave_triggered(); break;
        case 8: _t->on_actionLoadModel_triggered(); break;
        case 9: _t->on_canvasClicked((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
        case 10: _t->on_actionabout_triggered(); break;
        case 11: _t->on_actionstop_triggered(); break;
        case 12: _t->on_actiondeleteImage_triggered(); break;
        case 13: _t->addImageNameBox((*reinterpret_cast< const QVector<QString>(*)>(_a[1]))); break;
        case 14: _t->on_checkFinish((*reinterpret_cast< govion::AlgoTesterResult*(*)>(_a[1]))); break;
        case 15: _t->on_checkResolvable_finished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->receiveBndRect((*reinterpret_cast< QRect(*)>(_a[1]))); break;
        case 17: _t->receiveSnTimes((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 18: _t->receiveAndShowDefectTypeIndex((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 19: _t->on_imageFolder_change((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: _t->on_imageBox_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->on_lastGroup_clicked(); break;
        case 22: _t->on_nextGroup_clicked(); break;
        case 23: _t->on_actionmodelToJson_triggered(); break;
        case 24: _t->on_actionMapping_triggered(); break;
        case 25: _t->on_actionstatus_triggered(); break;
        case 26: _t->on_actionalgoEdt_triggered(); break;
        case 27: _t->on_actionsingle_camera_triggered(); break;
        case 28: _t->on_actionfindLineTest_triggered(); break;
        case 29: _t->on_actionfindCircleTest_triggered(); break;
        case 30: _t->on_actionmatching_triggered(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QString> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MainWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::run)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MainWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::stopAlgo)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (MainWindow::*)(const bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::runEnd)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (MainWindow::*)(GvStatus::GVSTATUS );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::setStatus)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
    &QMainWindow::staticMetaObject,
    qt_meta_stringdata_MainWindow.data,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *MainWindow::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    }
    return _id;
}

// SIGNAL 0
void MainWindow::run()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void MainWindow::stopAlgo()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void MainWindow::runEnd(const bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void MainWindow::setStatus(GvStatus::GVSTATUS _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
